//package com.example.mybaties.service;
//
////import com.example.mybaties.mapper.UserInfoMapper;
//import com.example.mybaties.model.UserInfo;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Service;
//import org.springframework.web.bind.annotation.RequestMapping;
//
//import java.util.List;
//@Service
//public class UserService {
//    @Autowired
//    private UserInfoMapper userInfoMapper;
//    @RequestMapping("/queryUserInfos")
//    public List<UserInfo> queryUserInfos() {
//        return userInfoMapper.queryUserInfos();
//    }
//}
